package com.bytedance.scenedemo.migrate;


import com.bytedance.scene.GroupSceneUtility;
import com.bytedance.scenedemo.ResourceTable;
import com.bytedance.scenedemo.group.viewpager.ViewPagerSample;
import ohos.aafwk.ability.fraction.FractionAbility;
import ohos.aafwk.content.Intent;

/**
 * GroupScene 绑定到 Ability
 * Created by JiangQi on 9/5/18.
 */
public class GroupSceneBindToAbilitySample extends FractionAbility {

    @Override
    protected void onStart(Intent intent) {
        super.onStart(intent);
        setUIContent(ResourceTable.Layout_ablity_groupscene_bindtoabilitysample);
        GroupSceneUtility.setupWithAbility(this, ViewPagerSample.class).build();
    }
}
